package com.tengju.bff.interfaces.covercharge.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: xx
 * @Description: 违约金扣除新增申请
 * @Date: 2020/12/14 20:52
 */
@Data
@ApiModel(value = "违约金扣除申请实体")
public class AdminPunishApplySave {

    @ApiModelProperty(value = "申请单主键id")
    private Long id;

    @NotBlank
    @ApiModelProperty(value = "申请单id,K+YYMMDDHHMMSS(时分秒)+2位随机数")
    private String applyNo;

    @NotNull
    @ApiModelProperty(value = "用户id")
    private Integer idCode;

    @ApiModelProperty(value = "违规内容")
    private String violateValue;

    @ApiModelProperty(value = "经办人id")
    private Integer agentId;

    @NotNull
    @ApiModelProperty(value = "处理类型id")
    private Integer dealId;

    @NotNull
    @ApiModelProperty(value = "操作类型,16-入账 17-出账")
    private Integer profitType;

    @NotNull
    @ApiModelProperty(value = "操作金额")
    private BigDecimal money;

    @NotBlank
    @ApiModelProperty(value = "扣除期间YYYY-MM")
    private String deductDate;

    @NotBlank
    @ApiModelProperty(value = "扣除平台")
    private String platformCode;

    @ApiModelProperty(value = "备注")
    private String remark;

    @NotBlank
    @ApiModelProperty(value = "变更人")
    private String operate;

}
